package neu.soft.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 李博
 * 财务凭证类型枚举
 */
@AllArgsConstructor
public enum FinancialVoucherType implements FinancialEnumGetter {
    LEDGER_SOURCE_DOCUMENT("0","客户结账凭证"),//客户结账凭证 确认已到货，录入到款信息凭证，绑定订单单号
    LEDGER_REFUND_DOCUMENT("1","客户退款凭证"),//客户退款凭证，绑定订单单号
    LEDGER_RECEIPT_DOCUMENT("2","客户核算凭证"),//客户核算凭证，在出库单和付款核算后生成
    CLOSING_DOCUMENT("3","企业付款凭证");// 企业结账凭证，找应付单

    @Getter
    private final String code;

    private final String info;

    @Override
    public String getEnumValue() {
        return this.info;
    }


}
